to someone's cost

付出代价,吃苦头